/* style.css */
body{
    background: #f2f2f2;
}
.calendar-container {
    font-family: Arial, sans-serif;
    height: 40rem;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    width: 1200px;
    border-radius: 20px;
}
.calendar-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.calendar {
    width: 50%;
    height: 600px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f5f5f5;
}

.calendar-header h2 {
    margin: 0;
    font-size: 1.2em;
}

.calendar-days, .calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.calendar-days div {
    font-weight: bold;
    padding: 10px 0;
    background-color: #f0f0f0;
    margin-bottom: 20px;
}

.calendar-dates div {
    padding: 10px 0;
    cursor: pointer;
    margin-bottom: 50px;
    width: 50px;
    margin-left: 20px;
}

.calendar-dates div.today {
    background-color: #e6f7ff;
    font-weight: bold;
    border: 1px;
    border-radius: 15px;
}

.calendar-dates div.selected {
    background-color: #99ccff;
    font-weight: bold;
    border: 1px;
    border-radius: 15px;

}
.selected-date-display {
    font-size: 1.1em;
    padding: 10px;
    border-radius: 8px;
    line-height: 3em;
}
.back,.submit{
    width: 5em;
    height: 2.5em;
    border-radius: 5px;
    margin: 40px auto auto 150px
}
.submit{
    background-color: #6e78ff;
    color: #fff;
    margin-left: 90px;
}
.back{
    border: 1px solid black;
    background-color: #fff;
}

.alert-fade-in-out {
    opacity: 0;
    animation: fadeInOut 1s ease-in-out 0s 1 forwards; /* 动画持续1秒，立即出现 */
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1; /* 保持停留一段时间 */
    }
}

.past-date {
    color: gray;
}